package ru.niir.goodfil.audit.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class ClientPriceColumnChangeEvent extends Event {
    @Column(length = 10)
    private String clientId;

    @Column(length = 200)
    private String clientName;

    @Column(length = 10)
    private String brandId;

    @Column(length = 200)
    private String brandName;

    @Column(length = 50)
    private String oldColumnName;

    @Column(length = 50)
    private String newColumnName;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getOldColumnName() {
        return oldColumnName;
    }

    public void setOldColumnName(String oldColumnName) {
        this.oldColumnName = oldColumnName;
    }

    public String getNewColumnName() {
        return newColumnName;
    }

    public void setNewColumnName(String newColumnName) {
        this.newColumnName = newColumnName;
    }

    @Override
    public String toString() {
        return "ClientPriceColumnChangeEvent{" +
                "clientId='" + clientId + '\'' +
                ", clientName='" + clientName + '\'' +
                ", brandId='" + brandId + '\'' +
                ", brandName='" + brandName + '\'' +
                ", oldColumnName='" + oldColumnName + '\'' +
                ", newColumnName='" + newColumnName + '\'' +
                '}';
    }
}
